# -*- coding: utf-8 -*-

from django.contrib import admin
from rest_framework import routers
from django.urls import path
from apps.sys.login.views import *

router = routers.SimpleRouter()
urlpatterns = [
    path('apiLogin', ApiLogin.as_view()),
    path('captcha', CaptchaView.as_view()),
    path('login', LoginView.as_view(), name='token_obtain_pair'),
    path('logout', LogoutView.as_view(), name='token_obtain_pair'),
]
urlpatterns += router.urls
